package com.bit.ioc.modle;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

//配置文件中集合的使用；
@ConfigurationProperties(prefix = "dbtypes")
@Component
@Data
public class DbTypes {
    public Integer id;
    public List<String> name;
    public Map<String,String> ball;
}
